package com.ningxia.water.service.impl;

import com.ningxia.water.entity.TsApplicantWell;
import com.ningxia.water.mapper.TsApplicantWellMapper;
import com.ningxia.water.service.ITsApplicantWellService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ningxia.water.vo.out.ApplicantWellVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hz
 * @since 2021-05-14
 */
@Service
public class TsApplicantWellServiceImpl extends ServiceImpl<TsApplicantWellMapper, TsApplicantWell> implements ITsApplicantWellService {

    @Autowired
    private TsApplicantWellMapper applicantWellMapper;

    @Override
    public List<ApplicantWellVo> getWellInfos(Integer applicantId) {

        return applicantWellMapper.getWellInfos(applicantId);
    }
}
